//
//  TitleCollectionViewCell.m
//  TextApplication
//
//  Created by dllo on 16/8/29.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "TitleCollectionViewCell.h"

@implementation TitleCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel = [[UILabel alloc] initWithFrame:self.bounds];
        self.titleLabel.textColor = [UIColor whiteColor];
        self.titleLabel.font = [UIFont systemFontOfSize:14];
        self.titleLabel.textAlignment = 1;
        [self addSubview:self.titleLabel];
    }
    return self;
}

//- (void)layoutSubviews {
//    [super layoutSubviews];
//    self.titleLabel.frame = self.contentView.frame;
//    [self.contentView addSubview:self.titleLabel];
//}

@end
